import main from '@/view/main'

export default {
    path: '/caseManage',
    component: main,
    meta: {
        title: '案例管理'
    },
    children: [
        {
            path: '',
            name: 'caseManageList',
            meta: {
                title: '案例管理'
            },
            component: _ => import('./case-list')
        },
        {
            path: 'view',
            name: 'caseManageView',
            meta: {
                title: '预览案例'
            },
            component: _ => import('./case-view')
        },
        {
            path: 'add',
            name: 'caseManageAdd',
            meta: {
                title: '新建案例'
            },
            component: _ => import('./case-add')
        },
        {
            path: ':id',
            name: 'caseManageEdit',
            meta: {
                title: '修改案例'
            },
            component: _ => import('./case-edit')
        }
    ]
}
